ns_vserver_info

Configuration for Enabled Virtual server on NetScaler resource.

Read/write properties

export_list<String[]>

Export List: WebInsight, SecurityInsight.

ip_address<String>

Virtual server IP Address.
Minimum length = 1
Maximum length = 64

ns_ip_address<String>

NetScaler IP Address.
Minimum length = 1
Maximum length = 64

export_option<String[]>

Export Options: TCP, ICA.

icalog<String>

ICA log.

transport_mode<String>

Transport Mode [ Logstream/Appflow ].

es4nslog<String>

ESNS enable.

agent_list<String[]>

Agent List, on which traffic will flow.

tenant_id<String>

TenantID.

appflow_policy_rule<String>

Appflow policy rule.

appflowlog<String>

Appflow log.

servicetype<String>

servicetype.

name<String>

Virtual server name.
Maximum length = 255

type<String>

Tells whether virtual server type.
Minimum length = 2
Maximum length = 64

Read only properties

state<String>

Tells whether virtual server up/down.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)delete

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/ns_vserver_info

Query-parameters:

filter

https://<MGMT-IP>/nitro/v2/config/ns_vserver_info?filter=property-name1:property-value1,property-name2:property-value2

Use this query-parameter to get the filtered set of ns_vserver_info resources configured on the system. You can set a filter on any property of the resource.

pagesize=#no&pageno=#no

https://<MGMT-IP>/nitro/v2/config/ns_vserver_info?pagesize=#no&pageno=#no

Use this query-parameter to get the ns_vserver_info resources in chunks.

count

https://<MGMT-IP>/nitro/v2/config/ns_vserver_info?count=yes

Use this query-parameter to get the count of ns_vserver_info resources.

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_vserver_info":[{
      "export_list":<String_value>,
      "ip_address":<String_value>,
      "ns_ip_address":<String_value>,
      "export_option":<String_value>,
      "icalog":<String_value>,
      "transport_mode":<String_value>,
      "es4nslog":<String_value>,
      "agent_list":<String_value>,
      "tenant_id":<String_value>,
      "appflow_policy_rule":<String_value>,
      "appflowlog":<String_value>,
      "state":<String_value>,
      "servicetype":<String_value>,
      "name":<String_value>,
      "type":<String_value>,
      "is_vsever_to_query":<Boolean_value>,
      "primary_appflowlog":<String_value>}]}

delete

URL:https://<MGMT-IP>/nitro/v2/config/ns_vserver_info/

HTTPS Method:DELETE

Request Headers:

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value> }